package org.example.demo.service.userService;

import org.example.demo.dto.CommentParam;
import org.example.mbg.model.Comment;

import java.util.List;

public interface CommentService {

    int add(CommentParam commentParam);

    List<Comment> getCommentOfProduct(Long productId);

    List<Comment> getCommentOfUser(Long userId);
}
